package oop;

public class Dog {
    public void jump()
    {
        System.out.println("jump fangfa");
    }
    public void run ()
    {
        jump();
        System.out.println("run fangfa");
    }

    public static void main(String[] args) {
        Dog d=new Dog();
        d.run();
    }
}
